import { createRouter, createWebHistory } from 'vue-router'

import appointmentcancel from '@/views/appointmentcancel.vue'
import appointmentsuccess from '@/views/appointmentsuccess.vue'
import appointmentlist from '@/views/appointmentlist.vue'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      redirect: '/appointmentsuccess'
    },
    {
      path: '/appointmentsuccess',
      component: appointmentsuccess
    },
    {
      path: '/appointmentlist',
      component: appointmentlist
    },
    {
      path: '/appointmentcancel',
      component: appointmentcancel
    }


  ],
})

export default router
